package com.starter.jienlee.enums;

import com.starter.jienlee.common.IBaseResultCode;
import lombok.Getter;

@Getter
public enum RestCodeEnum implements IBaseResultCode {
    USER_ACCOUNT_NOT_FIND(1404, "对不起，账户信息不存在！"),
    USER_PASSWORD_NOT_CORRECT(1001, "对不起，你输入的密码有误。请重新登陆！"),
    USER_STATUS_IS_BLOCK(1002, "对不起，账户被锁定，请联系管理员进行解封！"),
    USER_ACCOUNT_IS_EXIST(1003, "对不起，账户已经存在，无需注册！"),

    ;


    private Integer code;
    private String message;

    RestCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
